import request from '@/utils/request'

// 查询抄记管理列表
export function listRentMeter(query) {
  return request({
    url: '/rent/rentMeter/list',
    method: 'get',
    params: query
  })
}

// 查询抄记管理详细
export function getRentMeter(id) {
  return request({
    url: '/rent/rentMeter/' + id,
    method: 'get'
  })
}

// 新增抄记管理
export function addRentMeter(data) {
  return request({
    url: '/rent/rentMeter',
    method: 'post',
    data: data
  })
}

// 修改抄记管理
export function updateRentMeter(data) {
  return request({
    url: '/rent/rentMeter',
    method: 'put',
    data: data
  })
}

// 删除抄记管理
export function delRentMeter(id) {
  return request({
    url: '/rent/rentMeter/' + id,
    method: 'delete'
  })
}
